package com.cbox.controller;

import java.util.Date;

/**
 * Created by Administrator on 2017-12-05.
 */
public class ReviewController {
    private long id;
    private long userId;
    private long productId;
    private String userName;
    private String IP;
    private String text;
    private short check;
    private Date time;

    public ReviewController(long id, long userId, long productId, String userName, String IP, String text, short check, Date time) {
        this.id = id;
        this.userId = userId;
        this.productId = productId;
        this.userName = userName;
        this.IP = IP;
        this.text = text;
        this.check = check;
        this.time = time;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getIP() {
        return IP;
    }

    public void setIP(String IP) {
        this.IP = IP;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public short getCheck() {
        return check;
    }

    public void setCheck(short check) {
        this.check = check;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
